import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';

import { SharedModule } from '@shared/shared.module';
import { RouteRoutingModule } from './routes-routing.module';
import { environment } from '@env/environment';
// table-list. pages
import { TableListComponent } from './list/table-list.component';
// single pages
import { CallbackComponent } from './callback/callback.component';
import { Exception403Component } from './exception/403.component';
import { Exception404Component } from './exception/404.component';
import { Exception500Component } from './exception/500.component';

import { ExtrasPoiEditComponent } from './list/edit/edit.component';

const COMPONENTS_NOROUNT = [ ExtrasPoiEditComponent ];

@NgModule({
    imports: [ SharedModule, RouteRoutingModule ],
    declarations: [
        TableListComponent,
        // single pages
        CallbackComponent,
        Exception403Component,
        Exception404Component,
        Exception500Component,
        ...COMPONENTS_NOROUNT
    ],
    entryComponents: COMPONENTS_NOROUNT
})

export class RoutesModule {}
